package cn.wolfcode.crm.query;

import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
public class SchoolContactsQueryObject extends QueryForObject {

    private String keyword = null;
    private Long schoolId = 0L;
    private Long state = 0L;

    public String getKeyword() {
        return keyword == null || "".equals(keyword.trim()) ? null : keyword;
    }

    public Long getState() {
        return state > 0 ? state : 0;
    }

    public Long getSchoolId() {
        return schoolId > 0 ? state : 0;
    }


}
